-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(gradle-plugin): architecture folder name missmatch when using SPM and framework path searching #320
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #320 +/- ##
==========================================
+ Coverage 77.00% 80.20% +3.19%
==========================================
Files 39 43 +4
Lines 635 793 +158
Branches 86 105 +19
==========================================
+ Hits 489 636 +147
- Misses 100 103 +3
- Partials 46 54 +8 ☔ View full report in Codecov by Sentry. |
...latform-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle/FrameworkLinker.kt
Outdated
Show resolved
Hide resolved
...m-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle/FrameworkPathResolver.kt
Show resolved
Hide resolved
...m-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle/FrameworkPathResolver.kt
Outdated
Show resolved
Hide resolved
...m-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle/FrameworkPathResolver.kt
Show resolved
Hide resolved
.../src/main/java/io/sentry/kotlin/multiplatform/gradle/ManualFrameworkPathSearchValueSource.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is very well done, hats off!
I really like how you split the search up into different strategies. The use of parameterized tests is :chefkiss: and also the fact that you're downloading a real xcframework from github is making a perfect integration test!
Just left a few minor comments, but nothing big apart from handling exitValue maybe.
📜 Description
Fixes several things
frameworkPath
doesn't check for architecture foldersframeworkPath
xcodebuild -showBuildSettings
💡 Motivation and Context
Right now
8.38.0
and above won't work with the plugin with SPM💚 How did you test it?
Added test that downloads the frameworks and tests against it.
📝 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.🔮 Next steps